gdkwindow-wayland: Destroy the xdg roles before the wl_surface
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 19 Jun 2014 19:10:01 +0000 (15:10 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 19 Jun 2014 19:10:54 +0000 (15:10 -0400)
commit6926c6d9f803fcdf1dedbac7433508438e7c1c60
tree34de1524335b86ea0cfbc1f0b72108ad2998347d
parentb35820fa3ceae8da1c05888f6a0bba9f392c904c
gdkwindow-wayland: Destroy the xdg roles before the wl_surface

Since the xdg roles are a special case of the surface, some compositors
like Weston destroy them automatically when the wl_surface is destroyed.
Thus, we need to destroy these first.
gdk/wayland/gdkwindow-wayland.c